package net.sudot.chess.business.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.Instant;

/**
 * 时间范围
 *
 * @author tangjialin on 2018-06-23.
 */
@Getter
@Setter
@Accessors(chain = true)
public class DateTimeScopeDTO implements Serializable {
    /** 起始时刻 */
    private Instant start;
    /** 结束时刻 */
    private Instant end;
    /** 持续天数 */
    private Integer duration;
    /** 最小值 */
    private Instant min;

}
